Configure the Remote Host Logon

Before you begin

  • The FTP server must support the FTP passive (PASV) command. If the FTP server does not support the passive command, the file transfer is aborted, and then the system logs an error message that indicates that the FTP server does not support the passive command.

About this task

Configure the remote host logon to modify parameters for FTP and TFTP access. The defaults enable TFTP transfers. If you want to use FTP as the transfer mechanism, you need to change the password to a non-null value.

Important

Important

tftp-debug should be used exclusively to transfer small files less than 1MB in size. Using it for larger files might cause unwanted behavior, such as transfer failure.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Define conditions for the remote host logon:

    boot config host {ftp-debug|password WORD<0–16>|tftp-debug|tftp-hash|tftp-rexmit <1–120>|tftp-timeout <1–120>|user WORD<0–16>}

  3. Save the changed configuration.

Example

Switch:1> enable

Switch:1# configure terminal

Enable console tftp/tftpd debug messages:

Switch:1# boot config host tftp-debug

Switch:1# save config